﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DietStructure_rjfldb2.aspx.cs" Inherits="Catering.DisplayBoards.DietStructure_rjfldb2" %>
<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
<%@ Register src="~/UCPanle/DDLTool.ascx" tagname="DDLTool" tagprefix="uc1" %>
<%@ Register src="~/UCPanle/UCSearchToolForPersonAvg.ascx" tagname="UCSearchToolForPersonAvg" tagprefix="uc3" %>
<%@ Register src="~/UCPanle/UCSearchToolByZW.ascx" tagname="UCSearchToolByZW" tagprefix="uc2" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
       <title></title>
    <script type="text/javascript" src="../Style/zhezhao.js"></script>
    <script src="../Style/xxk.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="../Style/head.css" />
    <link rel="stylesheet" type="text/css" href="../Style/center.css" />
    <link rel="stylesheet" type="text/css" href="../Style/zhezhao.css" />
    <script type="text/javascript" src="../Catering_Page/Tool_Reporter/js/jquery.min.js"></script>
    <style type="text/css">
        .report_xh_title{font-weight:bold; font-size:16px; color:#0066CC;}
    </style>
    <script type="text/javascript">
        function GetDataGroup(title, xtype, data) {
            var chart;
            var banzuptions = {
                chart: { renderTo: 'container' }, //容器ID
                title: { text: title }, //报表大标题
                //subtitle: { text: '报表小标题' }, //报表小标题
                xAxis: {//x轴
                    type: 'sdf',
                    categories: xtype,
                    gridLineWidth: 0,
                    labels: {
                        align: 'right',
                        rotation: -45,
                        style: {
                            fontSize: '13px',
                            fontFamily: '宋体,Verdana'
                        }
                    }
                },
                yAxis: [{ // left y axis
                    title: {
                        text: null
                    },
                    labels: {
                        formatter: function () {
                            return Highcharts.numberFormat(this.value, 0);
                        }
                    },
                    showFirstLabel: false
                },
                { // right y axis
                    linkedTo: 0,
                    gridLineWidth: 1,
                    opposite: true,
                    title: { text: null },
                    labels: {
                        formatter: function () {
                            return Highcharts.numberFormat(this.value, 0);
                        }
                    },
                    showFirstLabel: true
                }],
                tooltip: {
                    formatter: function () {
                        return '<b>' + this.x + '：</b><br/>' +
                        this.series.name + '：' + this.y;
                    }
                },
                series: []
            };
            for (var i = 2; i < arguments.length; i++) {
                banzuptions.series[i - 2] = arguments[i];
            }
            chart = new Highcharts.Chart(banzuptions);
        }
        function RefreshPage() {
            $("#Btn_Ref").trigger("click");
        }

        $(function () {
            var test = setInterval(RefreshPage, 1000 * 60 * 60);
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <script type="text/javascript" src="../Catering_Page/Tool_Reporter/js/highcharts.js"></script>
    <script type="text/javascript" src="../Catering_Page/Tool_Reporter/js/modules/exporting.js"></script>
    <script type="text/javascript" src="../Catering_Page/Tool_Reporter/js/highslide-full.min.js"></script>
    <script type="text/javascript" src="../Catering_Page/Tool_Reporter/js/highslide.config.js" charset="utf-8"></script>
    <div>
        <asp:ScriptManager ID="ScriptManager1" ScriptMode="Release" runat="server"></asp:ScriptManager>
    <div class="xxk_button1" style="display:none">
            <ul>
                <li id="li2_1" class="li_out"><a href="yysfx.aspx" >&nbsp;&nbsp;营养素分析</a></li>
                <li id="li2_2" class="li_out"><a href="PersonAvgContrastLineChar.aspx" >&nbsp;&nbsp;人均分类统计</a></li>
                <li id="li2_3" class="li_over"><a href="PresonAvgContrant.aspx" >&nbsp;&nbsp;人均分类对比</a></li>
                <%if (Catering.Toolss.IsVerification(Session["RoleID"].ToString(), "yyjgfx.aspx", "人均食用油汇总查看")){ %>
                <li id="li2_4" class="li_out"><a href="PersonAvgXiaohaoChar.aspx" >&nbsp;&nbsp;人均消耗统计</a></li>
                <%}
                if (Catering.Toolss.IsVerification(Session["RoleID"].ToString(), "yyjgfx.aspx", "人均消耗统计查看")){ %>
                <li id="li2_5" class="li_out"><a href="OilPersonContrast.aspx" >&nbsp;&nbsp;人均食用油汇总</a></li>
                <%} %>
            </ul>
        </div>
        <div class="Center_Content" id="div_search" style="display:none">
            <asp:Button ID="Btn_Ref" runat="server" Text="" style="width:0px; height:0px; border:0px;" onclick="Btn_Ref_Click" />
            <div class="div_0207 left_width500" style="height:34px; width:998px; background: url(../Images/div_h1_bg.gif)">
                <table align="left" style="height:34px" width="100%" border="0" cellspacing="0" cellpadding="0" class="ckgl_table">
                    <thead>
                        <tr>
                            <td><uc1:DDLTool ID="DDLTool1" DisplayYear="false" SecondCheck="yyjgfx.aspx|其他班组人均分类对比查看"  runat="server" /></td>
                            <td align="right"><asp:LinkButton ID="lbtnTyleChar" runat="server">开始统计</asp:LinkButton></td>
                            <td width="10"></td>
                        </tr>
                    </thead>
                </table>
            </div>
        </div>
        <div class="Center_Content" id="div2_1" style="display: block">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none">
               <tr><td>
                   <uc2:UCSearchToolByZW ID="UCSearchToolByZW1" runat="server" />
                   </td></tr>
               <tr><td height="35" style="border:1px solid #C2DEF6; border-top:none; background-color:#E5F1FD;" valign="middle" align="center"><asp:Label ID="lblTypeTitle" runat="server" Text="" CssClass="report_xh_title"></asp:Label></td></tr>
            </table>
            <div id="container" style="width:1000px; height: 400px; margin: 0 auto"></div>
        </div>
    </div>
    </form>
</body>
</html>
